package cn.assumejson.springframework.context.context.annotation;

import cn.assumejson.springframework.beans.factory.annotation.Autowired;
import cn.assumejson.springframework.context.stereotype.Component;

/**
 * @author Mr. Li
 * @version 1.0
 * @since 1.0 2021/12/5 16:01
 */
@Component
public class OrderService {

    @Autowired
    private IUserService userService;

    public void printUserInfo() {
        System.out.println(userService.register("小刚刚"));
    }
}
